<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<c:forEach var="commodity" items="${requestScope.commodityList}" varStatus="status">
	<div class="clothe" style="margin-top:2%;" commodityID="${commodity.id}">
		<div class="leftdiv" >
			<img src="<%=path%>/images/home/home_0${status.count}.png">
		</div>
		<div class="rightdiv" >
			<div class="wenzi">
				<div class="name"><p>${commodity.name}</p></div>
				<div class="price"><p>${commodity.price}元专区</p></div> 
			</div>
			<div class="numberdiv" >
				<div class="jian" onmousedown="jian(${commodity.price},this)"></div>
				<div class="shuzi"><p>0</p></div>
				<div class="jia" onmousedown="jia(${commodity.price},this)"></div>
			</div>			
			<div class="more" onclick="more(this)"></div>	
			<div class="detaildiv" style="display: none;">
				<div class="return" onclick="hiddenmore(this)">
				</div> 
				<div class="detail">
					<p>${commodity.description}</p>
				</div>
			</div>			
		</div>		
		<div class="line"><img src="<%=path%>/images/home/line_03.png"></div>
		<div style="clear:both"></div>	
	</div>
</c:forEach>
<div class="total" style="text-align: center;">
	<p>共<font id="cnumber" color="#ff6c0d">0</font>件&nbsp;&nbsp;共<font id="cprice" color="#ff6c0d">0</font>元</p>
</div>
<div class="next_lag">
	<a href="javascript:void(0)" id="skipGetCloth">
		<img src="<%=path%>/images/home/next_lag.png">
	</a>
</div> 
<div class="ship">
	<img src="<%=path%>/images/home/ship.png">
	<div class="shipcontent" style="margin-left:5%;">
		<p style="width: 95%">1.邮宝洗衣收派范围限泉州市鲤城区、丰泽区、洛江区、晋江桥南片区。其他地区正筹建中，敬请关注。</p>
		<p style="width: 95%">2.为了确保洗涤质量，风衣、皮衣、被单等衣物洗涤周期为5天。如若延迟送衣，工作人员会提前与您联系。</p>
	</div>
</div>